package com.mingqijia.gassafety.webserver.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author zhangfei
 * @version 1.0.0
 * @ClassName RunningStrategyExtRequest.java
 * @Description TODO
 * @createTime 2023年12月13日
 */
@Data
@ApiModel("策略数据详情")
public class RunningStrategyExtRequest {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "消息推送方式：1 微信模版消息 2 短信推送  3机器人外呼")
//    @NotNull(message = "消息推送方式不能为空")
    private Integer pushType;

    @ApiModelProperty(value = "服务到期推送等级，1距离服务到期≤30天，2服务到期当天,3服务超期")
    private Integer pushServiceExpireLevel;

    @ApiModelProperty(value = "推送级别1-10")
    private String pushLevel;

    @ApiModelProperty(value = "其他联系人电话")
    private String pushPhones;

    @ApiModelProperty(value = "频率: 1每日、2每周、3每月")
    private Integer pushFrequency;

    @ApiModelProperty(value = "次数")
    private Integer pushNumber;

    @ApiModelProperty(value = "推送时间段: 0即刻、1短白天、2长白天、3上午、4下午、5晚上")
    private Integer pushTime;

    @ApiModelProperty(value = "页面展示顺序")
    private Integer sort;

    @ApiModelProperty(value = "外呼时是否发送短信 0开启 1不开启")
    private Integer callSendNote;

    //  ext策略数据
    @Valid
    @ApiModelProperty(value = "策略数据详情")
    private List<RunningStrategyExtRequest> children;

}